package DAO;

import hbt.HibernateUtil;

import org.hibernate.SessionFactory;

public class EmpleadoDAO {

	private static EmpleadoDAO instancia = null;
	private static SessionFactory sf = null;
	
	public static EmpleadoDAO getInstancia(){
		if(instancia == null){
			sf = HibernateUtil.getSessionFactory();
			instancia = new EmpleadoDAO();
		} 
		return instancia;
	}
}
